﻿<%@ Page Title="About Us" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="contacto.aspx.cs" Inherits="Presentation.contacto" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
   
  
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <%--    <cc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></cc1:ToolkitScriptManager>--%>
    
    <p>
      Completa el formulario y nos comunicaremos.
    </p>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    
    <table>
    <tr>
    <td>
    <asp:Label ID="lblName" runat="server" Text="Nombre y Apellido" 
            style="font-family: Calibri; font-size: small"></asp:Label>

    </td>
    <td>
        <asp:TextBox ID="txtName" runat="server"></asp:TextBox>           <strong>*</strong>
        <asp:RequiredFieldValidator ID="rfvName" runat="server" 
            ErrorMessage="Campo Vacío" ControlToValidate="txtname" 
            style="font-size: small; color: #FF0000;"></asp:RequiredFieldValidator>          
    </td>
    <td style="color: #FF0000">
  
        
        </td>   
        
    </tr>
    <tr>
    <td>
    
        <asp:Label ID="lblMail" runat="server" Text="e-mail" 
            style="font-family: Calibri; font-size: small"></asp:Label>
    </td>
    <td>
    <asp:TextBox ID="txtMail" runat="server"></asp:TextBox>   <strong>*</strong>
        <asp:RequiredFieldValidator ID="rfvemail" runat="server"
            ErrorMessage="Campo Vacío" ControlToValidate="txtmail" 
            style="font-size: small; color: #FF0000;">
            </asp:RequiredFieldValidator>
        <asp:RegularExpressionValidator ID="revemail" runat="server" 
            ErrorMessage="Dirección incorrecta" 
            style="font-size: small; font-family: Calibri; color: #FF0000;" 
            ControlToValidate="txtMail" 
            ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>

    </td>
    <td class="style1" align="left">
        
     
        </td>
    
    
    </tr>
    <tr>
    <td>
    Tipo Contacto

    </td>
    <td>
        <asp:DropDownList ID="DropDownList1" runat="server">
            <asp:ListItem>Tasacion</asp:ListItem>
            <asp:ListItem>Venta</asp:ListItem>
            <asp:ListItem>Compra</asp:ListItem>
        </asp:DropDownList>
    </td>
    </tr>
    <tr>
    
    <td>
        <asp:Label ID="lblConsult" runat="server" Text="Su consulta"></asp:Label>
    </td>
    <td  valign="middle">
    <asp:TextBox ID="txtConsult" runat="server" Rows="8" TextMode="MultiLine" 
            Width="251px"></asp:TextBox>      <strong>*</strong>
         <asp:RequiredFieldValidator ID="rfvComment" runat="server"
            ErrorMessage="Campo Vacío" ControlToValidate="txtconsult" 
            style="font-size: small">
            </asp:RequiredFieldValidator>
    </td>
    <td class="style1">
  
        
        
        </td>
      
    </tr>
        
      
    <tr>
    <td align="left" colspan="3">

      <asp:Label ID="lblLeyend" runat="server" Text="(*) Requerido" 
            style="color: #FF0000; font-size: x-small;"></asp:Label>

    </td>
    </tr>
    <tr>
        
    <td colspan="3" align="center">
    <asp:Button ID="btnEnviarConsulta" runat="server" Text="Enviar" 
            style="font-size: small; font-family: Calibri" 
            onclick="btnEnviarConsulta_Click" />


    
    </td>
        
    </tr>
        
    </table>
 <cc1:ModalPopupExtender 
   ID="ModalPopupExtender1"
   TargetControlID="btnEnviarConsulta"   
   PopupControlID="Panel1"
   BackgroundCssClass="modalBackground"
    OkControlID="btnAceptar"
  runat="server">
</cc1:ModalPopupExtender>
<asp:Panel ID="Panel1" runat="server">
<table width=300>
<tr>
<td>

 <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
</td></tr>
</table>
  <div>   
               
                <asp:Button ID="btnAceptar" runat="server" Text="Aceptar" 
                    style="font-family: Calibri; font-size: small" />
            </div>
</asp:Panel>
        
 </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>


